<?php
namespace ZfcUser\Model;

class Tforgotpasswordtokens
{
	public $id;
	public $user_id;
	public $email_id;
	public $token;
	public $status;
	public function exchangeArray($data)
	{
		$this->id	  	    = (isset($data['id']))  	    ? $data['id']    	: null;
		$this->user_id	  	= (isset($data['user_id']))  	? $data['user_id']  : null;               
        $this->email_id   	= (isset($data['email_id']))  	? $data['email_id']	: null;
		$this->token 	  	= (isset($data['token'])) 		? $data['token'] 	: null; 
		$this->status      	= (isset($data['status']))		? $data['status']   : null;		
					
	}
	// Add the following method:
	public function getArrayCopy()
	{
		return get_object_vars($this);
	}
}